package org.qiyu.live.im.core.server.handler;

import io.netty.channel.ChannelHandlerContext;
import org.qiyu.live.im.core.server.common.ImMsg;

/**
 * @Description: 工厂
 * @Author: 张广焱
 * @Date: 2024-05-02 上午9:56
 */
public interface ImHandlerFactory {
    /**
     * @Description: 按照immsg的code去筛选
     * @Author: 张广焱
     * @Date: 2024-05-02  10:02:29
     */
    void doMsgHandler(ChannelHandlerContext channelHandlerContext, ImMsg imMsg) throws IllegalAccessException;
}
